package com.tianyi.sfzy1.mapper;

import com.tianyi.sfzy1.domain.Coursereview;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CoursereviewMapper {


    int insert(@Param("content") String content,@Param("stars") int stars,@Param("memberId") int memberId,@Param("courseId") int courseId);


    List<Coursereview> findAll(int courseId);

}
